package cn.xd.core.ddd.diff;

import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @author: mirzaLin
 * @data: 2023/11/19
 * @description: 集合差异
 **/
@Getter
@NoArgsConstructor
public class ListDiff {
    private final Collection<Diff> list = new ArrayList<>();

    public void add(Diff diff) {
        list.add(diff);
    }
}
